home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PVDRIVER
/
GSVIEW10.ZIP
/
GSVIEW.RC
< prev
next >
Wrap
Text File
|
1993-07-29
|
15KB
|
378 lines
/*
* gsview.rc -- Resources for GSVIEW.EXE, a graphical interface for
* MS-Windows Ghostscript
* Copyright (C) 1993 Russell Lang
*/
#include <windows.h>
#include "gsview.h"
#include "gsview2.rc" /* language independent resources */
gsview_menu MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Open...\tO", IDM_OPEN
MENUITEM "&Close\tC", IDM_CLOSE
MENUITEM "&Next Page\t+", IDM_NEXT
MENUITEM "Pre&vious Page\t-", IDM_PREV
MENUITEM "&Goto Page...\tG", IDM_GOTO
MENUITEM "&Redisplay\tR", IDM_REDISPLAY
MENUITEM "&Info...\tI", IDM_INFO
MENUITEM SEPARATOR
MENUITEM "&Select File...\tS", IDM_SELECT
MENUITEM "&Print...\tP", IDM_PRINT
MENUITEM "Print To &File...\tF", IDM_PRINTTOFILE
MENUITEM "Print File...", IDM_SPOOL
MENUITEM "&Extract...\tE", IDM_EXTRACT
MENUITEM "PS to EPS", IDM_PSTOEPS
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Copy\tCtrl+C", IDM_COPYCLIP
MENUITEM SEPARATOR
MENUITEM "&Paste To...", IDM_PASTETO
MENUITEM "Convert &Bitmap", IDM_CONVERT
MENUITEM SEPARATOR
POPUP "&Add EPS Preview"
BEGIN
MENUITEM "&Interchange", IDM_MAKEEPSI
MENUITEM "TIFF 4", IDM_MAKEEPST4
MENUITEM "&TIFF 5", IDM_MAKEEPST
MENUITEM "&Windows Metafile", IDM_MAKEEPSW
END
POPUP "&Extract EPS"
BEGIN
MENUITEM "&PostScript", IDM_EXTRACTPS
MENUITEM "Pre&view", IDM_EXTRACTPRE
END
END
POPUP "O&ptions"
BEGIN
MENUITEM "&Ghostscript Command...", IDM_GSCOMMAND
MENUITEM "Sounds...", IDM_SOUNDS
MENUITEM "&Save Settings", IDM_SETTINGS
MENUITEM SEPARATOR
MENUITEM "Save Settings on &Exit", IDM_SAVESETTINGS
MENUITEM "Sa&fer", IDM_SAFER
MENUITEM "Save Last &Directory", IDM_SAVEDIR
MENUITEM "&Button Bar", IDM_BUTTONSHOW
MENUITEM "&Quick Open", IDM_QUICK
MENUITEM "Auto &Redisplay", IDM_AUTOREDISPLAY
MENUITEM "EPS &Clip", IDM_EPSFCLIP
MENUITEM "EPS &Warn", IDM_EPSFWARN
END
POPUP "&Orientation"
BEGIN
MENUITEM "&Portrait", IDM_PORTRAIT
MENUITEM "&Landscape", IDM_LANDSCAPE
MENUITEM "&Upside-down", IDM_UPSIDEDOWN
MENUITEM "&Seascape", IDM_SEASCAPE
MENUITEM SEPARATOR
MENUITEM "Swap Landscape", IDM_SWAPLANDSCAPE
END
POPUP "&Media"
BEGIN
MENUITEM "&Resolution...", IDM_RESOLUTION
MENUITEM SEPARATOR
MENUITEM "Letter", IDM_LETTER
MENUITEM "Tabloid", IDM_TABLOID
MENUITEM "Ledger", IDM_LEDGER
MENUITEM "Legal", IDM_LEGAL
MENUITEM "Statement", IDM_STATEMENT
MENUITEM "Executive", IDM_EXECUTIVE
MENUITEM "A3", IDM_A3
MENUITEM "A4", IDM_A4
MENUITEM "A5", IDM_A5
MENUITEM "B4", IDM_B4
MENUITEM "B5", IDM_B5
MENUITEM "Folio", IDM_FOLIO
MENUITEM "Quarto", IDM_QUARTO
MENUITEM "10x14", IDM_10X14
MENUITEM "User Defined...", IDM_USERSIZE
END
POPUP "&Help"
BEGIN
MENUITEM "&Contents", IDM_HELPCONTENT
MENUITEM "&Search for Help on...", IDM_HELPSEARCH
MENUITEM SEPARATOR
MENUITEM "&About...", IDM_ABOUT
END
END
gsview_accel ACCELERATORS
BEGIN
"O", IDM_OPEN
"o", IDM_OPEN
"C", IDM_CLOSE
"c", IDM_CLOSE
"N", IDM_NEXT
"n", IDM_NEXT
"+", IDM_NEXT
"V", IDM_PREV
"v", IDM_PREV
"-", IDM_PREV
"G", IDM_GOTO
"g", IDM_GOTO
"I", IDM_INFO
"i", IDM_INFO
"R", IDM_REDISPLAY
"r", IDM_REDISPLAY
"S", IDM_SELECT
"s", IDM_SELECT
"P", IDM_PRINT
"p", IDM_PRINT
"F", IDM_PRINTTOFILE
"f", IDM_PRINTTOFILE
"E", IDM_EXTRACT
"e", IDM_EXTRACT
VK_F1, IDM_HELPCONTENT, VIRTKEY
"^C", IDM_COPYCLIP
VK_INSERT, IDM_COPYCLIP, VIRTKEY, CONTROL
END
STRINGTABLE
BEGIN
/* general strings */
IDS_FILTER, "Default (*.ps)|*.ps|EPS Files (*.eps)|*.eps|EPI Files (*.epi)|*.epi|All Files (*.*)|*.*|Bitmap Files (*.bmp)|*.bmp|TIFF Files (*.tif)|*.tif|Metafiles (*.wmf)|*.wmf|"
IDS_TITLE, "Ghostview for Windows"
IDS_HELPFILE, "gsview.hlp"
IDS_WRONGGS, "Incompatible Windows Ghostscript Program"
IDS_BUSY, "Ghostview is busy.\nClear busy state?"
END
STRINGTABLE
BEGIN
IDS_FILE, "File: "
IDS_NOFILE, "No File"
IDS_PAGE, "Page: "
IDS_NOPAGE, "No page numbering available"
IDS_LANDSCAPE, "Landscape"
IDS_PORTRAIT, "Portrait"
IDS_ASCEND, "Ascending"
IDS_DESCEND, "Descending"
IDS_SPECIAL, "Special"
IDS_EPSF, "EPS"
IDS_EPSI, "EPS with Interchange Preview"
IDS_EPST, "EPS with TIFF Preview"
IDS_EPSW, "EPS with Metafile Preview"
IDS_DSC, "DSC"
IDS_NOTDSC, "No DSC comments"
IDS_PAGEINFO, "Page: \"%s\" %d of %d"
END
STRINGTABLE
BEGIN
IDS_OUTPUTFILE, "Output Filename"
IDS_PRINTINGALL, "No DSC comments\nPrinting all pages"
IDS_PRINTFILE, "Print File"
IDS_NOSPOOL, "Print Manager is disabled\nEnable it now ?"
IDS_SELECTPAGE, "Select Page"
IDS_SELECTPAGES, "Select Pages"
IDS_TIMEOUT, "Timeout waiting for Ghostscript"
IDS_NOTIMER, "No Timer available"
IDS_NOTOPEN, "No document open"
IDS_CANNOTRUN, "Can't run "
IDS_TOOLONG, "Command line too long: "
IDS_WAIT, "Wait"
IDS_NOMORE, "No more pages"
IDS_GSCOMMAND, "Ghostscript command ?"
IDS_RES, "Display resolution (dpi) ?"
IDS_USERWIDTH, "Width in 1/72 inch units ?"
IDS_USERHEIGHT, "Height in 1/72 inch units ?"
IDS_BADEPS, "Problem making EPS file"
IDS_NOPREVIEW, "Not a DOS EPS file or\nNo binary preview"
IDS_NOTDFNAME, "Can't use same name as open document"
IDS_PIPEERR, "Pipe error"
IDS_CANCELDONE, "%d%% done"
IDS_BADCLI, "Bad command line option: %s"
END
STRINGTABLE
BEGIN
/* sound type types*/
IDS_SOUNDNAME, "Sound File"
IDS_SNDPAGE, "Output Page"
IDS_SNDNOPAGE, "No Page"
IDS_SNDNONUMBER, "No Numbering"
IDS_SNDNOTOPEN, "Not Open"
IDS_SNDERROR, "Error"
IDS_SNDTIMEOUT, "Timeout"
IDS_SNDSTART, "Start"
IDS_SNDEXIT, "Exit"
IDS_SOUNDNOMM, "Can't load MMSYSTEM.DLL\nSounds will be unavailable"
IDS_NONE, "<None>"
IDS_SPKR, "<Speaker Beep>"
END
STRINGTABLE
BEGIN
/* help topics - these need to match keywords in gsview.doc */
IDS_TOPICROOT, "Overview"
IDS_TOPICOPEN, "Open"
IDS_TOPICPRINT, "Print"
IDS_TOPICEDIT, "Edit"
IDS_TOPICGSCMD, "Ghostscript Command"
IDS_TOPICSOUND, "Sounds"
IDS_TOPICMEDIA, "Media"
IDS_TOPICPSTOEPS, "PS to EPS"
END
STRINGTABLE
BEGIN
IDS_BBPROMPT, "Click at left"
IDS_BBPROMPT1, "Click at bottom"
IDS_BBPROMPT2, "Click at right"
IDS_BBPROMPT3, "Click at top"
IDS_EPSONEPAGE, "An EPS file must be a single page document.\nSee help on 'PS to EPS'"
IDS_EPSQPAGES, "Is this a single page document ?"
IDS_EPSNOBBOX, "Could not obtain Bounding Box"
IDS_EPSREAD, "Have you read help `PS to EPS` ?"
END
AboutDlgBox DIALOG 20, 32, 256, 156
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About Ghostview for Windows"
BEGIN
CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 218, 5, 32, 14
LTEXT "GSVIEW.EXE", -1, 32, 8, 64, 8
RTEXT "Version:", -1, 96, 8, 32, 8
LTEXT "", ABOUT_VERSION, 130, 8, 80, 8
LTEXT "A Ghostscript graphical interface", -1, 32, 16, 128, 8
LTEXT "This program is free software; you can redistribute it and/or modify", -1, 8, 28, 240, 8
LTEXT "it under the terms of the GNU General Public License as published by", -1, 8, 36, 240, 8
LTEXT "the Free Software Foundation; either version 2 of the License, or", -1, 8, 44, 240, 8
LTEXT "(at your option) any later version.", -1, 8, 52, 240, 8
LTEXT "This program is distributed in the hope that it will be useful", -1, 8, 64, 240, 8
LTEXT "but WITHOUT ANY WARRANTY; without even the implied warranty of", -1, 8, 72, 240, 8
LTEXT "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the", -1, 8, 80, 240, 8
LTEXT "GNU General Public License for more details.", -1, 8, 88, 240, 8
LTEXT "You should have received a copy of the GNU General Public License", -1, 8, 100, 240, 8
LTEXT "along with this program; if not, write to the Free Software", -1, 8, 108, 240, 8
LTEXT "Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.", -1, 8, 116, 240, 8
LTEXT "", -1, 8, 124, 240, 8
LTEXT "Author: Russell Lang (rjl@monu1.cc.monash.edu.au)", -1, 8, 138, 240, 8
ICON "gsview", ABOUT_ICON, 8, 8, 0, 0
END
InputDlgBox DIALOG 48, 32, 192, 56
STYLE DS_MODALFRAME |